<#include "../../page.ftl" />
<table class="table table-datatable table-gray check_table">
    <thead>
    <tr>
        <th style="width: 35px;"><input id="checkAll" type="checkbox" value=""></th>

        <th>员工号</th>
        <th>员工姓名</th>
        <th>合同起始日期</th>
        <th>合同结束日期</th>

        <th>操作</th>
    </tr>
    </thead>
<tbody>
<#if hrContractsTable.rows??>
<#list hrContractsTable.rows as hrContract>
    <tr>
        <td><input name="ids" type="checkbox" value="${hrContract.id?c}"></td>
      <td>${hrContract.employeeId!''}</td>
            <td>${hrContract.employeeName!''}</td>
            <td>${hrContract.contractStart!''}</td>
            <td>${hrContract.contractEnd!''}</td>

            <td>
            <a class="btn btn-green btn-radio nopadding" onclick="return popAddOrModify(${hrContract.id?c});" title="编辑"><i class="fa fa-edit"></i></a>
    </tr>
</#list>
</#if>
    </tbody>
</table>
<#if hrContractsTable??>
<@page table=hrContractsTable formId="search_hrContract_table"/>
</#if>